package com.defu.newmall.service;

import com.defu.newmall.common.PageResult;
import com.defu.newmall.entity.GoodsCategory;
import com.defu.newmall.utils.PageQueryUtil;

import java.util.List;

public interface NewBeeMallCategoryService {

    String saveCategory(GoodsCategory goodsCategory);

    String updateGoodsCategory(GoodsCategory goodsCategory);

    GoodsCategory getGoodsCategoryById(Long id);

    Boolean deleteBatch(Long[] ids);

    PageResult getCategorisPage(PageQueryUtil pageUtil);

    List<GoodsCategory> selectByLevelAndParentIdsAndNumber(List<Long> parentIds, int categoryLevel);
}
